package com.exchange.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.exchange.entity.pojo.ReservationRecord;
import com.exchange.entity.vo.DetailPowerRecord;
import com.exchange.service.ReservationRecordService;
import com.exchange.mapper.ReservationRecordMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Administrator
* @description 针对表【reservation_record】的数据库操作Service实现
* @createDate 2024-04-27 20:31:13
*/
@Service
public class ReservationRecordServiceImpl extends ServiceImpl<ReservationRecordMapper, ReservationRecord>
    implements ReservationRecordService{
    @Autowired
    private ReservationRecordMapper reservationRecordMapper;
    @Override
    public List<DetailPowerRecord> findById(Integer id) {
        return this.reservationRecordMapper.findById(id);
    }
}




